/* 主容器 - 使用登录页的渐变背景，优化响应式布局，添加圆角效果 */
.main-container {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #667eea 0%, #764ba2 100%);
    -fx-min-width: 1024px;
    -fx-min-height: 768px;
    -fx-pref-width: 1200px;
    -fx-pref-height: 800px;
    -fx-max-width: 1920px;
    -fx-max-height: 1080px;
    -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.25), 35, 0, 0, 10);
}

/* SplitPane 布局样式 - 优化响应式布局 */
.main-split-pane {
    -fx-background-color: transparent;
    -fx-min-width: 1024px;
    -fx-min-height: 768px;
}

.main-split-pane .split-pane-divider {
    -fx-background-color: rgba(255, 255, 255, 0.1);
    -fx-padding: 0 2px;
    -fx-cursor: col-resize;
}

.main-split-pane .split-pane-divider:hover {
    -fx-background-color: rgba(255, 255, 255, 0.2);
}

/* 内容区域布局优化 */
.content-pane {
    -fx-background-color: #f8fafc;
    -fx-min-width: 800px;
    -fx-min-height: 600px;
}

.content-stack-pane {
    -fx-background-color: transparent;
    -fx-min-width: 800px;
    -fx-min-height: 600px;
}

/* 自定义标题栏 - 与登录页保持一致 */
.title-bar {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 0%, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.2) 100%);
    -fx-padding: 8px 15px;
    -fx-border-color: rgba(255,255,255,0.15);
    -fx-border-width: 0 0 1px 0;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.1), 5, 0, 0, 2);
}

.logo-icon {
    -fx-font-size: 16px;
}

.system-title {
    -fx-text-fill: white;
    -fx-font-size: 14px;
    -fx-font-weight: bold;
}

/* 窗口控制按钮 - 美化版本 */
.window-controls {
    -fx-padding: 0;
    -fx-spacing: 4px;
}

.control-button {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 6px;
    -fx-min-width: 32px;
    -fx-min-height: 28px;
    -fx-max-width: 32px;
    -fx-max-height: 28px;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
    -fx-cursor: hand;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.08), 2, 0, 0, 1);
}

.control-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.12);
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.15), 3, 0, 0, 1);
}

.control-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.25);
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 1, 0, 0, 1);
    -fx-scale-x: 0.95;
    -fx-scale-y: 0.95;
}

/* 最小化按钮特殊样式 */
.minimize-button {
    -fx-background-color: transparent;
}

.minimize-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.15);
}

.minimize-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.25);
}

/* 最大化按钮特殊样式 */
.maximize-button {
    -fx-background-color: transparent;
}

.maximize-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.15);
}

.maximize-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.25);
}

/* 关闭按钮特殊样式 - 柔和版本 */
.close-button {
    -fx-background-color: transparent;
}

.close-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.15);
}

.close-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.25);
}

/* 控制按钮图标样式 */
.control-icon {
    -fx-text-fill: white;
    -fx-font-size: 12px;
    -fx-font-weight: bold;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.3), 1, 0, 0, 1);
}

.close-button:hover .control-icon {
    -fx-text-fill: white;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.3), 2, 0, 0, 1);
}

/* 窗口控制按钮动画效果 */
.control-button {
    -fx-transition: all 0.2s ease;
}

.control-button:hover {
    -fx-scale-x: 1.02;
    -fx-scale-y: 1.02;
}

.control-button:pressed {
    -fx-transition: all 0.1s ease;
}

/* 窗口控制按钮激活状态 */
.control-button:default {
    -fx-background-color: rgba(255, 255, 255, 0.1);
}

/* 窗口控制按钮焦点样式 */
.control-button:focused {
    -fx-background-color: rgba(255, 255, 255, 0.2);
    -fx-border-color: rgba(255, 255, 255, 0.5);
    -fx-border-width: 1px;
}

/* 窗口控制按钮禁用状态 */
.control-button:disabled {
    -fx-opacity: 0.5;
    -fx-cursor: default;
}

.control-button:disabled:hover {
    -fx-background-color: transparent;
    -fx-scale-x: 1.0;
    -fx-scale-y: 1.0;
}

/* 顶部导航栏 - 优化响应式布局 */
.top-bar {
    -fx-background-color: white;
    -fx-border-color: #e1e8ed;
    -fx-border-width: 0 0 1px 0;
    -fx-padding: 0 20px;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.05), 3, 0, 0, 1);
    -fx-min-height: 60px;
    -fx-pref-height: 60px;
    -fx-max-height: 80px;
}

.top-bar-left, .top-bar-right {
    -fx-padding: 0;
}

/* 菜单切换按钮 */
.menu-toggle-btn {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 8px;
    -fx-cursor: hand;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

.menu-icon {
    -fx-font-size: 16px;
    -fx-text-fill: #64748b;
}

.menu-toggle-btn:hover {
    -fx-background-color: #f1f5f9;
}

/* 面包屑 */
.breadcrumb {
    -fx-padding: 0 0 0 20px;
}

.breadcrumb-item {
    -fx-text-fill: #667eea;
    -fx-font-size: 13px;
    -fx-cursor: hand;
    -fx-font-weight: 500;
}

.breadcrumb-item:hover {
    -fx-text-fill: #5a6fd8;
    -fx-underline: true;
}

.breadcrumb-separator {
    -fx-text-fill: #cbd5e1;
    -fx-font-size: 12px;
}

.breadcrumb-current {
    -fx-text-fill: #334155;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
}

/* 全局搜索 */
.global-search-container {
    -fx-background-color: #f8fafc;
    -fx-background-radius: 20px;
    -fx-border-radius: 20px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-padding: 0 12px;
    -fx-spacing: 5;
}

.global-search-field {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-pref-height: 32px;
    -fx-pref-width: 250px;
    -fx-font-size: 13px;
    -fx-prompt-text-fill: #94a3b8;
}

.global-search-field:focused {
    -fx-prompt-text-fill: #cbd5e1;
}

.search-btn {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 4px;
    -fx-cursor: hand;
}

.search-btn:hover {
    -fx-background-color: rgba(102, 126, 234, 0.1);
    -fx-background-radius: 4px;
}

.search-icon {
    -fx-font-size: 14px;
    -fx-text-fill: #64748b;
}

/* 快捷操作按钮组 */
.quick-actions-group {
    -fx-spacing: 8;
}

/* 工具栏按钮 */
.toolbar-btn {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 8px;
    -fx-cursor: hand;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

.toolbar-btn:hover {
    -fx-background-color: #f1f5f9;
}

.toolbar-icon {
    -fx-font-size: 16px;
    -fx-text-fill: #64748b;
}

/* 通知按钮 */
.notification-btn {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 8px;
    -fx-cursor: hand;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

.notification-icon {
    -fx-font-size: 16px;
    -fx-text-fill: #64748b;
}

.notification-badge {
    -fx-fill: #ef4444;
    -fx-translate-x: 6px;
    -fx-translate-y: -6px;
}

.notification-btn:hover {
    -fx-background-color: #f1f5f9;
}

/* 主题切换按钮 */
.theme-toggle-btn {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 8px;
    -fx-cursor: hand;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

.theme-icon {
    -fx-font-size: 16px;
    -fx-text-fill: #64748b;
}

.theme-toggle-btn:hover {
    -fx-background-color: #f1f5f9;
}

/* 用户菜单 */
.user-menu-btn {
    -fx-background-color: transparent;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-border-radius: 20px;
    -fx-background-radius: 20px;
    -fx-padding: 4px 12px 4px 8px;
    -fx-cursor: hand;
    -fx-font-size: 14px;
    -fx-text-fill: #334155;
}

.user-menu-btn:hover {
    -fx-background-color: #f8fafc;
}

.user-avatar-container {
    -fx-padding: 0 8px 0 0;
}

.user-avatar {
    -fx-fill: #667eea;
}

.user-avatar-text {
    -fx-text-fill: white;
    -fx-font-size: 12px;
    -fx-font-weight: bold;
}

/* 左侧导航栏 - 使用渐变背景，优化响应式布局 */
.sidebar {
    -fx-background-color: linear-gradient(to bottom, #667eea, #764ba2);
    -fx-border-color: rgba(255, 255, 255, 0.1);
    -fx-border-width: 0 1px 0 0;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.1), 5, 0, 0, 0);
    -fx-spacing: 8;
    -fx-padding: 15px;
    -fx-min-width: 200px;
    -fx-pref-width: 220px;
    -fx-max-width: 300px;
}

/* 侧边栏头部 */
.sidebar-header {
    -fx-padding: 10px 0 15px 0;
}

.sidebar-logo {
    -fx-font-size: 24px;
    -fx-text-fill: white;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.3), 2, 0, 1, 1);
}

.sidebar-title {
    -fx-text-fill: white;
    -fx-font-size: 14px;
    -fx-font-weight: bold;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.2), 1, 0, 1, 1);
}

.sidebar-separator {
    -fx-background-color: rgba(255, 255, 255, 0.2);
    -fx-pref-height: 1px;
}

/* 侧边栏滚动区域 */
.sidebar-scroll {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-fit-to-width: true;
}

.sidebar-scroll .viewport {
    -fx-background-color: transparent;
}

.sidebar-scroll .scroll-bar {
    -fx-background-color: transparent;
}

.sidebar-scroll .scroll-bar .thumb {
    -fx-background-color: rgba(255, 255, 255, 0.3);
    -fx-background-radius: 4px;
}

.sidebar-menu-container {
    -fx-padding: 5px 0;
}

/* 侧边栏快速操作区域 */
.sidebar-quick-actions {
    -fx-padding: 15px 0 0 0;
    -fx-border-color: rgba(255, 255, 255, 0.1);
    -fx-border-width: 1px 0 0 0;
}

.sidebar-quick-btn {
    -fx-background-color: rgba(255, 255, 255, 0.08);
    -fx-border-color: rgba(255, 255, 255, 0.2);
    -fx-border-width: 1px;
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
    -fx-text-fill: rgba(255, 255, 255, 0.9);
    -fx-font-size: 12px;
    -fx-font-weight: 500;
    -fx-padding: 8px 12px;
    -fx-cursor: hand;
    -fx-alignment: CENTER_LEFT;
    -fx-min-height: 32px;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.05), 1, 0, 0, 1);
}

.sidebar-quick-btn:hover {
    -fx-background-color: rgba(255, 255, 255, 0.15);
    -fx-text-fill: white;
    -fx-border-color: rgba(255, 255, 255, 0.35);
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 2, 0, 0, 2);
    -fx-scale-x: 1.02;
    -fx-scale-y: 1.02;
}

.sidebar-quick-btn:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.2);
    -fx-scale-x: 0.98;
    -fx-scale-y: 0.98;
}

/* Accordion 侧边栏样式 - 美化版本 */
.sidebar-accordion {
    -fx-background-color: transparent;
    -fx-padding: 0;
    -fx-border-color: transparent;
}

.accordion-pane {
    -fx-background-color: rgba(255, 255, 255, 0.08);
    -fx-border-color: rgba(255, 255, 255, 0.15);
    -fx-border-radius: 12px;
    -fx-background-radius: 12px;
    -fx-text-fill: white;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 3, 0, 0, 1);
    -fx-margin: 0 0 8px 0;
}

.accordion-pane:hover {
    -fx-background-color: rgba(255, 255, 255, 0.12);
    -fx-border-color: rgba(255, 255, 255, 0.25);
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.15), 5, 0, 0, 2);
}

.accordion-pane .title {
    -fx-background-color: transparent;
    -fx-text-fill: white;
    -fx-font-weight: 600;
    -fx-font-size: 14px;
    -fx-padding: 12px 16px;
    -fx-alignment: CENTER_LEFT;
}

.accordion-pane .arrow-button {
    -fx-background-color: transparent;
    -fx-background-radius: 6px;
    -fx-padding: 8px;
}

.accordion-pane .arrow-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.1);
}

.accordion-pane .arrow {
    -fx-background-color: rgba(255, 255, 255, 0.8);
    -fx-shape: "M 0 0 L 4 4 L 0 8";
}

.accordion-content {
    -fx-background-color: rgba(255, 255, 255, 0.05);
    -fx-padding: 8px 12px 12px 12px;
    -fx-spacing: 4px;
    -fx-background-radius: 0 0 12px 12px;
}

.accordion-button {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-text-fill: rgba(255, 255, 255, 0.85);
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-padding: 10px 16px;
    -fx-alignment: CENTER_LEFT;
    -fx-cursor: hand;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-min-height: 36px;
}

.accordion-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.12);
    -fx-text-fill: white;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 2, 0, 0, 1);
}

.accordion-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.2);
    -fx-scale-x: 0.98;
    -fx-scale-y: 0.98;
}

/* 激活状态的菜单按钮 */
.accordion-button.active {
    -fx-background-color: rgba(255, 255, 255, 0.15);
    -fx-text-fill: white;
    -fx-border-color: rgba(255, 255, 255, 0.3);
    -fx-border-width: 1px;
}

/* 菜单图标样式 */
.menu-icon {
    -fx-font-size: 16px;
    -fx-text-fill: rgba(255, 255, 255, 0.9);
    -fx-padding: 0 8px 0 0;
}

/* 菜单文本样式 */
.menu-text {
    -fx-text-fill: rgba(255, 255, 255, 0.85);
    -fx-font-size: 13px;
    -fx-font-weight: 500;
}

/* 侧边栏快速操作 */
.quick-sidebar-actions {
    -fx-padding: 15px 10px;
    -fx-border-color: rgba(255, 255, 255, 0.1);
    -fx-border-width: 1px 0 0 0;
    -fx-spacing: 5;
}

.sidebar-section-title {
    -fx-text-fill: rgba(255, 255, 255, 0.7);
    -fx-font-size: 11px;
    -fx-font-weight: bold;
    -fx-padding: 0 0 5px 0;
}

.sidebar-quick-button {
    -fx-background-color: transparent;
    -fx-border-color: rgba(255, 255, 255, 0.2);
    -fx-border-width: 1px;
    -fx-border-radius: 4px;
    -fx-background-radius: 4px;
    -fx-text-fill: rgba(255, 255, 255, 0.9);
    -fx-font-size: 11px;
    -fx-padding: 4px 8px;
    -fx-cursor: hand;
}

.sidebar-quick-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.1);
    -fx-text-fill: white;
}

/* 状态栏样式 - 优化响应式布局 */
.status-bar {
    -fx-background-color: white;
    -fx-border-color: #e1e8ed;
    -fx-border-width: 1px 0 0 0;
    -fx-padding: 8px 20px;
    -fx-alignment: CENTER_LEFT;
    -fx-spacing: 15;
    -fx-min-height: 32px;
    -fx-pref-height: 40px;
    -fx-max-height: 48px;
}

.status-group {
    -fx-spacing: 8;
}

.status-icon {
    -fx-font-size: 12px;
}

.status-text {
    -fx-text-fill: #10b981;
    -fx-font-size: 12px;
    -fx-font-weight: 500;
}

.status-user, .status-time {
    -fx-text-fill: #64748b;
    -fx-font-size: 11px;
}

.status-separator {
    -fx-text-fill: #cbd5e1;
    -fx-font-size: 12px;
}

/* 主内容区 */
.main-content {
    -fx-background-color: #f8fafc;
    -fx-padding: 0;
}

.content-scroll {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 20px;
}

.content-scroll .viewport {
    -fx-background-color: transparent;
}

.content-area {
    -fx-padding: 0;
}

/* 页面标题区 */
.page-header {
    -fx-padding: 0 0 10px 0;
}

.page-title {
    -fx-text-fill: #1e293b;
    -fx-font-size: 24px;
    -fx-font-weight: bold;
}

.page-subtitle {
    -fx-text-fill: #64748b;
    -fx-font-size: 14px;
}

.page-actions {
    -fx-padding: 0;
}

/* 按钮样式 - 使用登录页的渐变 */
.primary-btn {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #667eea 0%, #764ba2 100%);
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-text-fill: white;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-pref-height: 36px;
    -fx-padding: 0 16px;
    -fx-cursor: hand;
    -fx-effect: dropshadow(three-pass-box, rgba(102, 126, 234, 0.3), 8, 0, 0, 2);
}

.primary-btn:hover {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #5a6fd8 0%, #6a4a9a 100%);
    -fx-effect: dropshadow(three-pass-box, rgba(102, 126, 234, 0.4), 12, 0, 0, 3);
}

.secondary-btn {
    -fx-background-color: white;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-text-fill: #475569;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-pref-height: 36px;
    -fx-padding: 0 16px;
    -fx-cursor: hand;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.05), 2, 0, 1, 1);
}

.secondary-btn:hover {
    -fx-background-color: #f8fafc;
    -fx-border-color: #667eea;
    -fx-text-fill: #667eea;
}

/* 数据统计卡片 */
.stats-cards {
    -fx-padding: 0;
}

.stat-card {
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #f1f5f9;
    -fx-border-width: 1px;
    -fx-padding: 20px;
    -fx-pref-width: 200px;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.08), 8, 0, 0, 3);
}

.stat-card:hover {
    -fx-effect: dropshadow(one-pass-box, rgba(102, 126, 234, 0.15), 12, 0, 0, 5);
    -fx-translate-y: -2px;
}

/* 修复统计图标背景 - 使用纯色避免渐变问题 */
.stat-icon {
    -fx-font-size: 24px;
    -fx-padding: 8px;
    -fx-background-radius: 8px;
    -fx-text-fill: white;
}

.user-icon {
    -fx-background-color: #667eea;
}

.order-icon {
    -fx-background-color: #f093fb;
}

.revenue-icon {
    -fx-background-color: #4facfe;
}

.alert-icon {
    -fx-background-color: #43e97b;
}

.stat-number {
    -fx-text-fill: #1e293b;
    -fx-font-size: 24px;
    -fx-font-weight: bold;
}

.stat-label {
    -fx-text-fill: #64748b;
    -fx-font-size: 13px;
}

.stat-trend {
    -fx-font-size: 12px;
    -fx-font-weight: 500;
    -fx-padding: 4px 0 0 0;
}

.positive {
    -fx-text-fill: #10b981;
}

.warning {
    -fx-text-fill: #f59e0b;
}

/* TilePane 和 FlowPane 样式 */
.stats-tile-pane {
    -fx-padding: 0;
    -fx-hgap: 15;
    -fx-vgap: 15;
    -fx-pref-columns: 4;
}

.quick-actions-flow {
    -fx-padding: 0;
    -fx-hgap: 10;
    -fx-vgap: 10;
}

/* GridPane 图表区域样式 */
.charts-grid {
    -fx-padding: 0;
    -fx-hgap: 15;
    -fx-vgap: 15;
}

/* 首页样式 */
.home-page {
    -fx-background-color: transparent;
}

.home-scroll-pane {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-padding: 20px;
}

.home-content {
    -fx-padding: 0;
    -fx-spacing: 20;
}

.section-title {
    -fx-text-fill: #1e293b;
    -fx-font-size: 16px;
    -fx-font-weight: bold;
}

/* 图表卡片 */
.chart-card {
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #f1f5f9;
    -fx-border-width: 1px;
    -fx-padding: 20px;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.08), 8, 0, 0, 3);
}

.chart-title {
    -fx-text-fill: #1e293b;
    -fx-font-size: 16px;
    -fx-font-weight: 600;
}

.chart-filter {
    -fx-pref-height: 32px;
    -fx-pref-width: 100px;
    -fx-font-size: 12px;
    -fx-background-color: #f8fafc;
    -fx-border-color: #e2e8f0;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

.chart-placeholder {
    -fx-padding: 40px 20px;
    -fx-background-color: #f8fafc;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-pref-height: 200px;
}

.chart-placeholder-text {
    -fx-text-fill: #64748b;
    -fx-font-size: 16px;
    -fx-font-weight: 500;
}

.chart-placeholder-desc {
    -fx-text-fill: #94a3b8;
    -fx-font-size: 13px;
    -fx-padding: 8px 0 0 0;
}

/* 活动卡片 */
.activity-card {
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #f1f5f9;
    -fx-border-width: 1px;
    -fx-padding: 20px;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.08), 8, 0, 0, 3);
}

.card-title {
    -fx-text-fill: #1e293b;
    -fx-font-size: 18px;
    -fx-font-weight: 600;
}

.view-all-link {
    -fx-text-fill: #667eea;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-cursor: hand;
    -fx-border-color: transparent;
}

.view-all-link:hover {
    -fx-text-fill: #5a6fd8;
    -fx-underline: true;
}

.activity-list {
    -fx-padding: 15px 0 0 0;
}

.activity-item {
    -fx-padding: 12px 0;
    -fx-border-color: #f1f5f9;
    -fx-border-width: 0 0 1px 0;
}

.activity-item:last-child {
    -fx-border-width: 0;
}

.activity-icon {
    -fx-font-size: 16px;
}

.activity-title {
    -fx-text-fill: #334155;
    -fx-font-size: 14px;
    -fx-font-weight: 500;
}

.activity-desc {
    -fx-text-fill: #64748b;
    -fx-font-size: 13px;
}

.activity-time {
    -fx-text-fill: #94a3b8;
    -fx-font-size: 12px;
}

/* 快捷操作样式 */
.quick-actions-card {
    -fx-padding: 20px;
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.quick-actions {
    -fx-padding: 10px 0 0 0;
}

.quick-action-btn {
    -fx-background-color: white;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-border-radius: 12px;
    -fx-background-radius: 12px;
    -fx-pref-width: 100px;
    -fx-pref-height: 80px;
    -fx-cursor: hand;
    -fx-effect: dropshadow(one-pass-box, rgba(0,0,0,0.05), 2, 0, 1, 1);
}

.quick-action-btn:hover {
    -fx-background-color: #f8fafc;
    -fx-border-color: #667eea;
    -fx-effect: dropshadow(one-pass-box, rgba(102,126,234,0.15), 4, 0, 2, 3);
    -fx-translate-y: -2px;
}

/* 快捷操作按钮样式 */
.quick-action-btn {
    -fx-background-color: white;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
    -fx-text-fill: #475569;
    -fx-font-size: 12px;
    -fx-padding: 8px 12px;
    -fx-cursor: hand;
}

.quick-action-btn:hover {
    -fx-background-color: #f8fafc;
    -fx-border-color: #667eea;
    -fx-text-fill: #667eea;
}

/* 快捷操作区域 */
.quick-actions-section {
    -fx-padding: 0;
    -fx-spacing: 10;
    -fx-pref-width: 300;
}

.activity-section {
    -fx-padding: 0;
    -fx-spacing: 10;
}

/* 确认对话框样式 */
.confirmation-dialog {
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #e1e8ed;
    -fx-border-width: 1px;
    -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.15), 20, 0, 0, 5);
}

.confirmation-dialog .header-panel {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #667eea 0%, #764ba2 100%);
    -fx-text-fill: white;
}

.confirmation-dialog .content {
    -fx-background-color: white;
    -fx-padding: 20px;
    -fx-text-fill: #334155;
    -fx-font-size: 14px;
}

.confirmation-dialog .button-bar {
    -fx-background-color: #f8fafc;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px 0 0 0;
    -fx-padding: 15px 20px;
}

.confirmation-dialog .button {
    -fx-background-radius: 6px;
    -fx-border-radius: 6px;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-pref-height: 32px;
    -fx-padding: 0 16px;
    -fx-cursor: hand;
}

.confirmation-dialog .button:default {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #667eea 0%, #764ba2 100%);
    -fx-text-fill: white;
}

.confirmation-dialog .button:default:hover {
    -fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #5a6fd8 0%, #6a4a9a 100%);
}

.confirmation-dialog .button:cancel {
    -fx-background-color: white;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-text-fill: #475569;
}

.confirmation-dialog .button:cancel:hover {
    -fx-background-color: #f8fafc;
    -fx-border-color: #667eea;
    -fx-text-fill: #667eea;
}

/* 内容区域样式 */
.content-area {
    -fx-background-color: #f8fafc;
    -fx-padding: 20px;
}

.page-content {
    -fx-spacing: 20px;
}

/* 占位页面样式 */
.placeholder-page {
    -fx-padding: 60px 20px;
}

.placeholder-title {
    -fx-text-fill: #334155;
    -fx-font-size: 24px;
    -fx-font-weight: bold;
}

.placeholder-desc {
    -fx-text-fill: #64748b;
    -fx-font-size: 16px;
}

/* 表格样式 */
.data-table {
    -fx-background-color: white;
    -fx-border-radius: 8px;
    -fx-background-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.table-placeholder {
    -fx-text-fill: #64748b;
    -fx-font-size: 14px;
    -fx-padding: 40px;
}

/* 筛选区域样式 */
.filter-container {
    -fx-padding: 20px;
    -fx-background-color: white;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.search-field, .filter-combo {
    -fx-pref-height: 36px;
    -fx-background-color: #f8fafc;
    -fx-border-color: #e2e8f0;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
}

/* 表单样式 */
.form-container {
    -fx-padding: 30px;
    -fx-background-color: white;
    -fx-background-radius: 12px;
    -fx-border-radius: 12px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.form-grid {
    -fx-padding: 0;
}

.form-label {
    -fx-text-fill: #374151;
    -fx-font-size: 14px;
    -fx-font-weight: 500;
}

.form-textarea {
    -fx-background-color: #f8fafc;
    -fx-border-color: #e2e8f0;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
    -fx-padding: 12px;
}

/* 分页样式 */
.pagination-container {
    -fx-padding: 20px;
    -fx-background-color: white;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.pagination-info {
    -fx-text-fill: #64748b;
    -fx-font-size: 13px;
}

.pagination-btn {
    -fx-background-color: white;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
    -fx-border-radius: 4px;
    -fx-background-radius: 4px;
    -fx-pref-height: 32px;
    -fx-pref-width: 60px;
    -fx-font-size: 12px;
}

.pagination-current {
    -fx-text-fill: #667eea;
    -fx-font-size: 13px;
    -fx-font-weight: 500;
    -fx-padding: 0 15px;
}

/* 统计卡片背景样式 */
.stat-bg {
    -fx-fill: rgba(255, 255, 255, 0.9);
}

.user-bg {
    -fx-fill: #667eea;
}

.order-bg {
    -fx-fill: #f093fb;
}

.revenue-bg {
    -fx-fill: #4facfe;
}

.alert-bg {
    -fx-fill: #43e97b;
}

/* 活动区域样式 */
.activity-section {
    -fx-spacing: 8px;
}

.activity-section-title {
    -fx-text-fill: #374151;
    -fx-font-size: 13px;
    -fx-font-weight: 600;
    -fx-padding: 0 0 5px 12px;
}

.activity-items {
    -fx-padding: 0;
}

.activity-item {
    -fx-padding: 12px;
    -fx-background-color: #f8fafc;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
}

.activity-item:hover {
    -fx-background-color: #f1f5f9;
}

/* 图表占位符样式 */
.chart-placeholder {
    -fx-padding: 40px 20px;
    -fx-background-color: #f8fafc;
    -fx-background-radius: 8px;
    -fx-border-radius: 8px;
    -fx-border-color: #e2e8f0;
    -fx-border-width: 1px;
}

.chart-placeholder-text {
    -fx-text-fill: #64748b;
    -fx-font-size: 16px;
    -fx-font-weight: 500;
}

.chart-placeholder-desc {
    -fx-text-fill: #94a3b8;
    -fx-font-size: 13px;
    -fx-padding: 8px 0 0 0;
}

/* 子菜单分组样式 - 美化版本 */
.sub-menu-group {
    -fx-padding: 8px 0 8px 20px;
    -fx-background-color: rgba(255, 255, 255, 0.03);
    -fx-background-radius: 6px;
    -fx-border-radius: 6px;
    -fx-margin: 2px 0;
}

.sub-menu-title {
    -fx-text-fill: rgba(255, 255, 255, 0.8);
    -fx-font-size: 12px;
    -fx-font-weight: 600;
    -fx-padding: 0 0 6px 8px;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 1, 0, 0, 1);
}

/* 子菜单按钮样式 - 美化版本 */
.sub-menu-button {
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-text-fill: rgba(255, 255, 255, 0.85);
    -fx-font-size: 12px;
    -fx-font-weight: 500;
    -fx-padding: 8px 12px;
    -fx-alignment: CENTER_LEFT;
    -fx-cursor: hand;
    -fx-background-radius: 6px;
    -fx-border-radius: 6px;
    -fx-min-height: 32px;
}

.sub-menu-button:hover {
    -fx-background-color: rgba(255, 255, 255, 0.08);
    -fx-text-fill: white;
    -fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.1), 1, 0, 0, 1);
}

.sub-menu-button:pressed {
    -fx-background-color: rgba(255, 255, 255, 0.12);
    -fx-scale-x: 0.98;
    -fx-scale-y: 0.98;
}

/* 子菜单激活状态 */
.sub-menu-button.active {
    -fx-background-color: rgba(255, 255, 255, 0.12);
    -fx-text-fill: white;
    -fx-border-color: rgba(255, 255, 255, 0.25);
    -fx-border-width: 1px;
}

/* 响应式设计 - 大屏幕适配 */
@media screen and (min-width: 1920px) {
    .main-container {
        -fx-max-width: 2560px;
        -fx-max-height: 1440px;
    }
    
    .sidebar {
        -fx-pref-width: 280px;
    }
    
    .global-search-field {
        -fx-pref-width: 300px;
    }
    
    .stat-card {
        -fx-pref-width: 250px;
    }
}

/* 响应式设计 - 中等屏幕适配 */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .sidebar {
        -fx-pref-width: 240px;
    }
    
    .global-search-field {
        -fx-pref-width: 280px;
    }
    
    .stat-card {
        -fx-pref-width: 200px;
    }
}

/* 响应式设计 - 小屏幕适配 */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .sidebar {
        -fx-pref-width: 220px;
    }
    
    .global-search-field {
        -fx-pref-width: 250px;
    }
    
    .stat-card {
        -fx-pref-width: 180px;
    }
}

/* 响应式设计策略 - 超小屏幕适配 */
@media screen and (max-width: 1023px) {
    .sidebar {
        -fx-pref-width: 180px;
        -fx-min-width: 180px;
    }
    
    .global-search-field {
        -fx-pref-width: 180px;
    }
    
    .stat-card {
        -fx-pref-width: 150px;
    }
    
    .top-bar {
        -fx-padding: 0 15px;
    }
    
    .status-bar {
        -fx-padding: 6px 15px;
    }
}

/* 动画效果 */
.primary-btn, .secondary-btn, .toolbar-btn, .notification-btn, .theme-toggle-btn {
    -fx-transition: all 0.2s ease;
}

.primary-btn:hover, .secondary-btn:hover, .toolbar-btn:hover {
    -fx-scale-x: 1.02;
    -fx-scale-y: 1.02;
}

/* 加载状态 */
.loading-overlay {
    -fx-background-color: rgba(248, 250, 252, 0.8);
    -fx-alignment: center;
}

.loading-spinner {
    -fx-font-size: 24px;
    -fx-text-fill: #667eea;
}

/* 错误状态 */
.error-state {
    -fx-background-color: #fef2f2;
    -fx-border-color: #fecaca;
    -fx-border-width: 1px;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
    -fx-padding: 16px;
}

.error-icon {
    -fx-text-fill: #ef4444;
    -fx-font-size: 16px;
}

.error-text {
    -fx-text-fill: #dc2626;
    -fx-font-size: 14px;
    -fx-font-weight: 500;
}

/* 成功状态 */
.success-state {
    -fx-background-color: #f0fdf4;
    -fx-border-color: #bbf7d0;
    -fx-border-width: 1px;
    -fx-border-radius: 6px;
    -fx-background-radius: 6px;
    -fx-padding: 16px;
}

.success-icon {
    -fx-text-fill: #22c55e;
    -fx-font-size: 16px;
}

.success-text {
    -fx-text-fill: #16a34a;
    -fx-font-size: 14px;
    -fx-font-weight: 500;
}